package command;


import org.uc3m.ed.Factory.panel.FactoriaPanel;
import org.uc3m.ed.implementacion.Command;
import org.uc3m.ed.interfaz_grafica.ventana.PanelDibujo;

public class CommandEliminarPila implements Command {

	@Override
	public void execute() {
		PanelDibujo panel= FactoriaPanel.metodoFactoria();

		panel.initPilaComandos();
		panel.setEstructura(null);
		panel.setDimensionDefecto();
		panel.repaint();
		

	}

}
